package com.rockcent.message;

import com.rockcent.common.BaseProp;
import org.springframework.beans.factory.annotation.Value;
import org.springframework.stereotype.Component;

/**
 * Created by oyhk on 16/5/3.
 * 自定义属性类
 */
@Component
public class Prop extends BaseProp{

    @Value("${user.token}")
    public String userToken;

    @Value("${mysql.druidDataSource.url}")
    public String jdbcUrl;
    @Value("${mysql.druidDataSource.username}")
    public String jdbcUsername;
    @Value("${mysql.druidDataSource.password}")
    public String jdbcPassword;

    @Value("${aliyun.oss.endpoint}")
    public String aliyunOssEndpoint;
    @Value("${aliyun.oss.access-key-id}")
    public String aliyunOssAccessKeyId;
    @Value("${aliyun.oss.access-key-secret}")
    public String aliyunOssaccessKeySecret;
    @Value("${aliyun.oss.bucket-name}")
    public String aliyunOssBucketName;

    @Value("${b.wechat.payment.notify.url}")
    public String wechatPaymentNotifyUrl;

}
